package com.bailong.administrator.ausedcar.ui.homepagefragment;

import com.bailong.administrator.ausedcar.base.IBaseView;
import com.bailong.administrator.ausedcar.bean.HomeHotBean;
import com.bailong.administrator.ausedcar.bean.HomeLikeBean;
import com.bailong.administrator.ausedcar.bean.HomeShowBean;

import java.util.Map;

import retrofit2.Callback;

/**
 * Created by Administrator on 2016/9/6.
 */
public class HomeContract {
    public interface View extends IBaseView{
        void onResponse(HomeLikeBean bean);
        void onResponse(HomeHotBean bean);
        void onResponse(HomeShowBean bean);


    }
    public interface Mode extends IBaseView{
        void  loadHomeLikeBean(Callback<HomeLikeBean> callback, Map<String,String>map);
        void  loadHomeHotBean(Callback<HomeHotBean> callback, Map<String,String>map);
        void  loadHomeShowBean(Callback<HomeShowBean> callback, Map<String,String>map);
    }
    public interface Presenter extends IBaseView{
         void loadHomeLikeBean();
         void loadHomeHotBean();
         void loadHomeShowBean();
    }

}
